package cn.monkey.family.rbac.dsl.http;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;


/**
 * 对可访问的 请求资源 定义
 */

@Data
public class HttpRequestPredicateDefinition implements Serializable {

    private String path;

    private String method;

    private Map<String, String> headers;

    private Map<String, String> params;

    private HttpRequestPredicateDefinition[] and;
    private HttpRequestPredicateDefinition[] or;
}
